package com.lcc.lynx.base.system.controller;

import com.lcc.lynx.jdbc.IByIdController;
import com.lcc.lynx.security.annotation.Permission;
import com.lcc.lynx.base.system.pojo.dv.SysUserRoleDV;
import com.lcc.lynx.base.system.service.SysUserRoleService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/** 
 * 用户角色配置控制实现
 * @auth lcc
 * @date 2025-01-01
 */
@RestController
@AllArgsConstructor
@Permission("sys:user")
@RequestMapping("/sys/user/role")
public class SysUserRoleController implements IByIdController<SysUserRoleDV> {

    private SysUserRoleService service;
    

    @Override
    public SysUserRoleService getService() {
       return service;
    }

}